rotateY

fun rotateY(angle: Double, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3(source)

Rotates the transformation matrix around the Y-axis by a specified angle.

Return

A new affine transformation matrix with the rotation applied.

Parameters

angle

The angle to rotate around the Y-axis.

angleUnit

The unit of the angle, defaults to AngleUnit.RADIANS.